/**
 * 二级页 互动交流
 */
// ***************	二级页面之 互动交流 begin	***************	//
if(location.href=="http://hrss.jl.gov.cn/hdjl/" || location.href=="http://hrss.jl.gov.cn/hdjl/zxzx/zxzx1_28604/"){
	
	
	_EsdDynamicTransformationScript.slidePointInterval = setInterval(function () {
		if ( document.getElementsByTagName("iframe")[0].contentWindow.document.getElementById("SubmitButton") != undefined ) {
			clearInterval(_EsdDynamicTransformationScript.slidePointInterval);
			
	
	// input type为text,password类型的输入框处理
	// 预先定义几个常用的input title值
	_EsdDynamicTransformationScript.placeholderKeywordCode='请输入查询编号';
	_EsdDynamicTransformationScript.placeholderBtnSearch='查询按钮';
	_EsdDynamicTransformationScript.placeholderBtnSearch2 = '跳转按钮';
	
	// input type为text,password类型的输入框处理
	// 预先定义几个常用的input title值
	// 快速查询
	_EsdDynamicTransformationScript.placeholderKeywordCode='请输入查询编号';
	_EsdDynamicTransformationScript.placeholderBtnSearch='查询按钮';
	
	// 咨询信息框
	_EsdDynamicTransformationScript.placeholderFormTitle='标题';
	_EsdDynamicTransformationScript.placeholderFormName='姓名';
	_EsdDynamicTransformationScript.placeholderFormTelphone='联系电话';
	_EsdDynamicTransformationScript.placeholderFormArea='地区';
	_EsdDynamicTransformationScript.placeholderFormAddress='地址';
	_EsdDynamicTransformationScript.placeholderFormQuestionType='问题类型';
	_EsdDynamicTransformationScript.placeholderFormIsReply='是否公开恢复';
	_EsdDynamicTransformationScript.placeholderFormEmail='电子邮件';
	_EsdDynamicTransformationScript.placeholderFormContent='内容';
	_EsdDynamicTransformationScript.placeholderFormSubmit='提交';
	_EsdDynamicTransformationScript.placeholderFormReset='重置';
	
	// 快速查询
	// 搜索框
	_EsdDynamicTransformationScript.inputObject = $('#code');
	$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderKeywordCode, 'placeholder':_EsdDynamicTransformationScript.placeholderKeywordCode});
	// 查询按钮
	_EsdDynamicTransformationScript.inputObject = $('table:eq(2) td:last div');
	$(_EsdDynamicTransformationScript.inputObject).attr('title',_EsdDynamicTransformationScript.placeholderBtnSearch);
	
	// 咨询信息框
	// 标题
	_EsdDynamicTransformationScript.inputObject = $('iframe:eq(0)').contents().find('input:eq(19)');
	$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderFormTitle, 'placeholder':_EsdDynamicTransformationScript.placeholderFormTitle});
	// 姓名
	_EsdDynamicTransformationScript.inputObject = $('iframe:eq(0)').contents().find('input:eq(20)');
	$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderFormName, 'placeholder':_EsdDynamicTransformationScript.placeholderFormName});
	// 联系电话
	_EsdDynamicTransformationScript.inputObject = $('iframe:eq(0)').contents().find('input:eq(21)');
	$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderFormTelphone, 'placeholder':_EsdDynamicTransformationScript.placeholderFormTelphone});
	// 地区
	_EsdDynamicTransformationScript.inputObject = $('iframe:eq(0)').contents().find('select:eq(0)');
	$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderFormArea, 'placeholder':_EsdDynamicTransformationScript.placeholderFormArea});
	// 地址
	_EsdDynamicTransformationScript.inputObject = $('iframe:eq(0)').contents().find('input:eq(22)');
	$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderFormAddress, 'placeholder':_EsdDynamicTransformationScript.placeholderFormAddress});
	// 问题类型
	_EsdDynamicTransformationScript.inputObject = $('iframe:eq(0)').contents().find('select:eq(1)');
	$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderFormQuestionType, 'placeholder':_EsdDynamicTransformationScript.placeholderFormQuestionType});
	// 是否公开回复
	_EsdDynamicTransformationScript.inputObject = $('iframe:eq(0)').contents().find('select:eq(2)');
	$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderFormIsReply, 'placeholder':_EsdDynamicTransformationScript.placeholderFormIsReply});
	// 邮箱
	_EsdDynamicTransformationScript.inputObject = $('iframe:eq(0)').contents().find('input:eq(23)');
	$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderFormEmail, 'placeholder':_EsdDynamicTransformationScript.placeholderFormEmail});
	// 内容
	_EsdDynamicTransformationScript.inputObject = $('iframe:eq(0)').contents().find('#frmData span');
	$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderFormContent, 'placeholder':_EsdDynamicTransformationScript.placeholderFormContent});
	// 提交
	_EsdDynamicTransformationScript.inputObject = $('iframe:eq(0)').contents().find('#SubmitButton');
	$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderFormSubmit, 'placeholder':_EsdDynamicTransformationScript.placeholderFormSubmit});
	// 重置
	_EsdDynamicTransformationScript.inputObject = $('iframe:eq(0)').contents().find('#ResetButton');
	$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderFormReset, 'placeholder':_EsdDynamicTransformationScript.placeholderFormReset});

	
		}
	}, 500);
	
}


if(location.href=="http://hrss.jl.gov.cn/hdjl/tsjb/"){
		_EsdDynamicTransformationScript.slidePointIntervalrd = setInterval(function () {
			if ( document.getElementsByTagName("iframe")[0].contentWindow.document.getElementById("SubmitButton") != undefined ) {
				clearInterval(_EsdDynamicTransformationScript.slidePointIntervalrd);
				
		var inputIframe = document.getElementsByTagName("iframe")[0].contentWindow.document;
		$(inputIframe).find("#frmData input:eq(0)").attr({placeholder:"标题",title:"标题"});
		$(inputIframe).find("#frmData input:eq(1)").attr({placeholder:"姓名",title:"姓名"});
		$(inputIframe).find("#frmData input:eq(2)").attr({placeholder:"联系电话",title:"联系电话"});
		$(inputIframe).find("#frmData input:eq(3)").attr({placeholder:"手机",title:"手机"});
		$(inputIframe).find("#frmData input:eq(4)").attr({placeholder:"邮政编码",title:"邮政编码"});
		$(inputIframe).find("#frmData input:eq(5)").attr({placeholder:"通讯地址",title:"通讯地址"});
		$(inputIframe).find("#frmData input:eq(6)").attr({placeholder:"电子邮件",title:"电子邮件"});
		
		$(inputIframe).find("#frmData textarea").attr({placeholder:"内容",title:"内容"});
		
		$(inputIframe).find("#SubmitButton").attr("title","提交");	
		$(inputIframe).find("#ResetButton").attr("title","重置");	

			}
		}, 500);	
}	

if(location.href=="http://hrss.jl.gov.cn/hdjl/xfjswtzj/"){
	_EsdDynamicTransformationScript.slidePointIntervalrd = setInterval(function () {
		if ( document.getElementsByTagName("iframe")[0].contentWindow.document.getElementById("SubmitButton") != undefined ) {
			clearInterval(_EsdDynamicTransformationScript.slidePointIntervalrd);
			
	var inputIframe = document.getElementsByTagName("iframe")[0].contentWindow.document;
	$(inputIframe).find("#frmData input:eq(0)").attr({placeholder:"标题",title:"标题"});
	$(inputIframe).find("#frmData input:eq(1)").attr({placeholder:"姓名",title:"姓名"});
	$(inputIframe).find("#frmData input:eq(2)").attr({placeholder:"联系电话",title:"联系电话"});
	$(inputIframe).find("#frmData input:eq(3)").attr({placeholder:"邮政编码",title:"邮政编码"});
	$(inputIframe).find("#frmData input:eq(4)").attr({placeholder:"电子邮件",title:"电子邮件"});
	$(inputIframe).find("#frmData input:eq(5)").attr({placeholder:"通讯地址",title:"通讯地址"});
	
	$(inputIframe).find("#frmData textarea").attr({placeholder:"内容",title:"内容"});
	
	$(inputIframe).find("#SubmitButton").attr("title","提交");	
	$(inputIframe).find("#ResetButton").attr("title","重置");	

		}
	}, 500);	
}	

if(location.href=="http://hrss.jl.gov.cn/hdjl/tzxx/"){
	_EsdDynamicTransformationScript.slidePointIntervalrd = setInterval(function () {
		if ( document.getElementsByTagName("iframe")[0].contentWindow.document.getElementById("SubmitButton") != undefined ) {
			clearInterval(_EsdDynamicTransformationScript.slidePointIntervalrd);
			
	var inputIframe = document.getElementsByTagName("iframe")[0].contentWindow.document;
	$(inputIframe).find("#frmData input:eq(0)").attr({placeholder:"标题",title:"标题"});
	$(inputIframe).find("#frmData input:eq(1)").attr({placeholder:"姓名",title:"姓名"});
	$(inputIframe).find("#frmData input:eq(2)").attr({placeholder:"联系电话",title:"联系电话"});
	$(inputIframe).find("#frmData input:eq(3)").attr({placeholder:"手机",title:"手机"});
	$(inputIframe).find("#frmData input:eq(4)").attr({placeholder:"邮政编码",title:"邮政编码"});
	$(inputIframe).find("#frmData input:eq(5)").attr({placeholder:"通讯地址",title:"通讯地址"});
	$(inputIframe).find("#frmData input:eq(6)").attr({placeholder:"电子邮件",title:"电子邮件"});
	
	$(inputIframe).find("#frmData textarea").attr({placeholder:"内容",title:"内容"});
	
	$(inputIframe).find("#SubmitButton").attr("title","提交");	
	$(inputIframe).find("#ResetButton").attr("title","重置");	

		}
	}, 500);	
}	








